<?php


//定义PHP配置文件存档路径
define('PHPETC_PATH',PHPROOT_PATH.'/etc/'); 

//定义PHP库文件路径
define('PHPLIB_PATH',PHPROOT_PATH.'/lib/'); 

//定义模块封装方法路径
define('PHPMODEL_PATH',PHPROOT_PATH.'/models/'); 

//定义中controllers封装方法路径
define('PHPCONTROLLERS_PATH',PHPROOT_PATH.'/controllers/'); 

//定义模块封装方法路径
define('PHPVIEWS_PATH',PHPROOT_PATH.'/views/'); 

//定义数据存储路径
define('PHPDATA_PATH', PHPROOT_PATH.'/data/');

//定义PHP日志文件路径
define('PHPLOG_PATH', PHPROOT_PATH.'/log/'); 

//定义PHP session文件路径
define('PHPSESSION_PATH', PHPROOT_PATH.'/session/'); 

//定义PHP session超时时间
define('SESSION_EXPIRE_TIME', 84000); 

//定义PHPinclude路径
define('PHPINCLUDE_PATH', PHPROOT_PATH.'/include/');  

//定义第三方库路径
define('PHPTHIRD_PATH', PHPROOT_PATH.'/third_party/');

//定义临时tmp目录
define('PHPTMP_PATH', PHPROOT_PATH.'/tmp/');

//定义PHPserver路径
#define('PHPSERVER_PATH', PHPROOT_PATH.'/server/');   

//定义agent IP！
#define('PHPSOCKET_IP', '127.0.0.1'); 

//定义socket 端口！
#define('PHPSOCKET_PORT', '10623'); 

//定义socket超时时间
#define('PHPSOCKET_TIMEOUT', '10');

//定义fsocket日志文件
#define('PHPFSOCKET_LOGFILENAME', 'fsocket.log'); 

//定义重试次数，0为关闭重试，1为重试一次，以此类推！
#define('PHPSOCKET_RECONN_STATUS', '1');  

/**
*定义数据库连接信息
*/

define('MYSQL_CONN_HOST', '11.11.1.1');

define('MYSQL_CONN_PORT', '13306');

define('MYSQL_CONN_USER','db');

define('MYSQL_CONN_PASSWD','sunry');

define('MYSQL_CONN_CHARSET','utf8');

define('MYSQL_CONN_DB', 'test');


/*数据库配置定义结束 */

/**
 * 定义每页显示的数量
 */
define('DEFAULT_PERPAGE' ,10);

?>
